//
//  CollectionCollection.m
//  Youhuiju
//
//  Created by liuovyue on 16/8/3.
//  Copyright © 2016年 yutenys. All rights reserved.
//

#import "CollectionCollection.h"

@interface CollectionCollection()

//图片
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *collectionTop;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *collectionLead;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *collectionWidth;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *collectionHeight;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *collectionBot;
//文字
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *labelTop;

@property (strong, nonatomic) IBOutlet NSLayoutConstraint *labelLead;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *labelTrail;

@property (strong, nonatomic) IBOutlet NSLayoutConstraint *labelHeight;
@property (strong, nonatomic) IBOutlet UILabel *labelName;





@end

@implementation CollectionCollection

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.collectionTop.constant = 33*FitH;
    self.collectionLead.constant = 48*FitW;
    self.collectionWidth.constant = 30*FitW;
    self.collectionHeight.constant = 27*FitH;
    
    self.labelTop.constant = 22*FitH;
    
    self.labelLead.constant = 0;
    self.labelTrail.constant = 0;
    self.collectionBot.constant = 30*FitH;
    self.labelName.font = [UIFont systemFontOfSize:15*FitW];
    
    
}

@end
